Location Area
@Serializable
Location areas are sections of locations, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters. See: https://pokeapi.co/docs/v2#location-areas
Parameters
id
The identifier for this resource.
name
The name for this resource.
game Index
The internal id of an API resource within game data.
encounter Method Rates
A list of methods in which Pokémon may be encountered in this area and how likely the method is to occur depending on the version of the game.
location
The location this area can be found in.
names
The name of this resource listed in different languages.
pokemon Encounters
A list of Pokémon that can be encountered in this area along with version specific details about the encounter.
Constructors
Link copied to clipboard
constructor(id: Int, name: String, gameIndex: Int, encounterMethodRates: List<EncounterMethodRate>, location: Handle.Named<Location>, names: List<Name>, pokemonEncounters: List<PokemonEncounter>)